Adwaita: Fix hover in navigation sidebars
authorMatthias Clasen <mclasen@redhat.com>
Sun, 9 Aug 2020 14:29:39 +0000 (10:29 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 13 Aug 2020 20:30:22 +0000 (16:30 -0400)
The placessidebar gets this from somewhere else, but
it wasn't working in the gtk-demo sidebar, so add it
explicitly. placessidebar specific styles should be
dropped from Adwaita as much as possible, but not
doing that here.

gtk/theme/Adwaita/_common.scss

index 3f7626e7a72d205d0a7dafe5f3a3690c1f6ce923..2c30614560bd8021928cb3af9649dcb6b8e62690 100644 (file)
@@ -3410,6 +3410,11 @@ placessidebar, .navigation-sidebar {
       }
     }
 
+    &:hover {
+      color: $fg_color;
+      background-color: $menu_selected_color;
+    }
+
     &:disabled { color: $insensitive_fg_color; }
 
     image.sidebar-icon {